package com.qf.ssm.common.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qf.ssm.entity.Product;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author KING
 * @ClassName: com.qf.ssm.common.request.OrderRequestParams
 * @Description: 该类的功能描述
 * @date: 2021/10/14 21:18
 */
@Data
public class OrderRequestParams {

    /**
     * 用户ID
     */
    private Long mid;

    /**
     * 商店ID
     */
    private Long sid;

    /**
     * 订单收货地址
     */
    private String orderAddress;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    private String productIds;

    private Double amount;
    // private List<Product> products;
}
